Fixed some file manager bugs(2)