fix bug about upload img