Tested and fixed editing type by changing properties