added try/catch, on_load and binary/list guard