fix position controller to work with sdk