Fix build + remove duplicate setting