remove wai hack, fixed nginx conf