small fixes for qual test
small fixes for qual test