fixing illegal lefthand operator