Added better error message if param is missing a name