fixing namespace bug