minor bugfix of peek