fixes message height issue when close is not available