minor fixes, ignore Qt related release mode warning