fixed some wrong assertions in obj loader