password base method fix