Fixed dict error is not callable