- removed invalid check