fix problem with prompt