fixed server error caused by bones.php