fixed problem with mass