fwr: fix loadObject function