fixed error when signature changed