1. fix file upload bug