fix bad signature error