hack to get around permissions issue