intellij removed spaces at the end