Fix frx, fry and frz