remove directory validation