Correcting Q learning