resolves #1296: evidently the order matters