hack to avoid permission denied