bug fixes

the short name might still be duplicated, add some code to check before
saving the data