Added better error message for missing controller