fixed signing failure conditions
512 > 256