fix flask assets cache problem