fixed stupid null error in Fx