minor fix
associativity of lsl & lsr and other minor bug