Shifted position and error callback in own functions