fix 'a' writting error