fixed >! assert error outside of go block