viewer text but some bugs left