file upload working for jpeg but not pdf...(weird)