add primitive error check to reload