bug fix for era editing