agh-wpa fix