clean up some return code, no need to check if err is nil, just return it
Merge pull request #7 from mistifyio/cleanup-returns

clean up some return code