removed unnecessary ifs and lowers
Merge pull request #181 from ljwolford/subattach

removed unnecessary ifs and lowers