fixed bug that create repository don't work