trying to fix spec tests