Removed bug with undefined text