why does console log it, but not the text...