Fix Error if obj hasnt have this variable