small fix

format and return value