fix db sequence and email