bugfix prompt and auto ui