various small code issues
refactoring: respond() instead of just.render()