edit subject, add layout variable