Fixed bug in required param
Fixed bug in required param