fixed some bugs, implement link unlink rmdir chdir