fixed moving block issue and jumping issue