some debug is needed