fix for 32bit qt