fixed issue with ribbon overflowing