fix bug in loadResult