User save method bug fix