Fixed error caused by the previous update when generator form was not loading properly.