Small error fixes
using theme error template with error handler