fixed creat partition bug