just an example how to remove first and last classes from templates