fixes can not upload without pic