fixed bug in displaying on linux