Fixed window height bug and required field bug