fixed "a" bug