fixed prevcheck namespace bug