Bugfix in pop actions for last gramamr slto