Made callback to hattrick work