fixed bug setting object name