Making sure that signature is properly generated