fix the ( bug and hte quit bug