coding style adjustments
add missing return