Fixed ATI bug