nusafephp mode changes