fixed a bug on the left side selection