intermediate check int
Fixing bugs related to x axis transitiion.