fixing a bug with bone