Heart rate not recorded properly