added clean method to clean up post input data.