fix compare operation bug ne to -ne.