fix views location bug.