removed some code due to last ok_api app update