added fixrefkeys endpoint