fix error 500 when upload design image