remove syntax errors, set up a go-loop just in case