fixing bugs in hockeyapp code