Quadcommand remove unneeded codes