Fix the codes.

jumps and platform collision.