fixed QMap problem