fix a small bug in obj exporting