bug fix
Qlearning