convert errors to Haml
fix invalid service reference