fixing template imports