fixed an inverted statment