erased extra erb tag endings when showing messages