Fixed Base.sign method