removed keys= as it's redundant and shouldn't break anything anyway; also fixes argument ordering issue in Python 2.7