fixed wrong view ordering