fixed retained states of file manager