Thank you Kung

i did some more testing and changed the function from the constructor to a normal method called 'from' - voilą the error is gone
I dont know if its done right or if i did something on the constructor wrong...mhhh actually i would like to work with the constructor on there^^