Fix errors with prompt