remove redundant return from spec