added padding trailer on main for not-front