fixed star rights handling in abundanceprofile

see title, plus merge with master