index and error controllers + pom fixes