fix "invalid argument" caused by gocapability