request prepare fix