fixed error when using Passenger