fixing local thesis generator flask