fixed encoder signs