mpemu fix
pad & clamp