bypass FileAPI error