WCP-33 Fix compile errors in view controller