refactoring ik controller deleted deprecated functions