fixed speedY() bug