don't do anything if it isn't a directory to start with