fix registration controller, fix differentiation module
fix diff helper