remove dict code