fixed problem with prompt