avoid nginx error
avoid nginx error
fix state names