fix return for old go versions / travis