fixes for motility, head-tilt and diagnosis