Removed scope definatin for required which should have not been there