fix the methodpqram model