Fixed more warnings in view.