preventing inifinite loop