fixing some view issues