extra div removed from template