fix format problem when working with nginx