prevent base direct visit