Adjust print message in component