fix oldform bug