set bones array to the identity before we try to use it