Fix front issue

Add parameters.dist

Fix issue

fix new issue

Change dist