change spec into a hacky way