fixed signature generation code