fix various methods call of not an object