text displayed but buggy