fixed problem with physics