fix datasource error by rehinting correctly