fixed missing VIEWS constant