fixed a bug in orthoprofile: do not use rstrip but explicitly check for endings, otherwise names ending in p, r, or f will be shortened, such as asjp becoming asj