remove trailing spaces
add refund