fixed conversion error. the sig.rb file really need to be cleaned-up