removed some debug outputs