add missing directory creation