fix right/left
fix some problem between versions