fixed error handling in x_y_killar