fix check for control system reference