fixed sign bug