removed some debug calls.