fix breakage when compiled views are not available