Clean and modify some properties in properties file