remove trailing whitespaces
add license