fix bugs and chanage algorithm obj loader