removed some debug messages