added getType message in debug mode