Fix bug in main.go