fixed helper function
Merge branch 'master' of https://github.com/keeklund/tfpipe
yep, sounds good