fix a upload mask bug & update doc