fix contails register issue. regiseterd bean should have a uniq id.