dirty fix, text mode