fix morphy helper