added tmp to gitignore
made it work! the jade was wrong and the error handling was... err... causing errors :S