this pointed to wrong object