check INVALIED DIRECTION