- Fixed undefined error when no “id” option is used