fixed 415 error when static serve is used