remove brackets around layout code