Add Error Messages

Useless assignment to variable - `profile`.