try to fix undefined id