bug fixes in prompt