fix error in user alert