fixed switch case problem with atlas files