fixed unnecessary frag stuff
removed more unnec. code