fix query make