Added wrap method to fix long message displaying incorrectly