bug fix #502 & Alter Table Dialog.