Fixed static filename resetting