undefined text issue