Fixed ambiguouty error, signess compare.