fixing the rotate translation