add a new id generator function, a warning and fix a bug on the web interface