fixed a signature bug