fixed bug with '+=' operator