fixed prompt and completion