handle non-existant id