trying another fix for db permission error