coding standards fixes, and fixed anonymous obj issue