fix 500 on empty body for conversion