fixes
plane infinite loop problem is fixed