Clean input data
Fix codestyle