clean function
fix inputs limit