Fix not matching of sink from config