'a' command bug fix