fix: missing return code in load_decoder