prevent Bugs with wrong initalized class attributes