fix many error on alert