bug fix with signs