fixed -eq to ==