fixed wrong view references