use get_handler method in ViewCollection to avoid key error