fix bug that sends compiler into infinite loop at 'a = a'