Fixed warnings when no blocks specified.