Fixed one of Phu's notorious little bugs