Fix for saving password