fixed bug regarding interpretation of plus and minus