Fixed upload_path issue