fix documentation errors caused by whitespaces