fixed instance variable assignment