fix loadchain