joint states error fix