fix for express 3 migration