1. fix a bug in fs mgr
2. change a bit of fs mgr api