fixes to sortmerna