fixed off by one in alpha count