changed modehidden save behaviour