fixed log error if directory doesn't exist
no message