fixing inclusion of hidden line in saved level state