pass dict not dictattproxy object