bugfix of last