Fix obj

Fix two separated and non related issues with obj files.
First one is pure cosmetics.
Second one is more critical and solves #601