Fix some bug in text