Fixed error messages and fixed a controller bug in the show method.