bug fixing ecg tracker database