generatedId, Long issue of equals and some bug ui