HACK: workaround that prevent permitions getting denied