fixed query for proprs