correction of success-message by trimming-bed