fixed each bug on objects