(fix) fixed gn task in flask app