Fixing some bugs introduced with express 3.1