fix residual theme= in kwargs