bug fix for linux Qt5