fix for missing directory