bug fix for express module  exception in heroku staging