fix the position of prompt