Fix file upload from app issue