Ok, the code itself is fine, but how I set the bones in the model is very crapy...
So please don`t reminde grin