some small changes to integration template into view