add missing return
closes #489