fixed 'rest'