fix mkdir status