fixed some required field checking and small ui changes