fixed stackoverflow :)