complete an admitted case
remove trailing whitespaces