quickfix for unwriteable dir