Fix strict error in spec