fix for nonexistent id