fixed bugs

salt not save when register
something another