fixed 'rest' bool