Strange changes. Use jump only to type == 'gem'