fixes for q-learning