fix whitespace and filename