fix alternative directory creation